package cn.it.shop.dao;

import java.util.Collection;
import java.util.List;
import java.util.Set;

import org.springframework.security.access.ConfigAttribute;

import cn.it.shop.pojo.Privilege;
import cn.it.shop.pojo.Role;

public interface PrivilegeDao extends BaseDao<Privilege> {

	// 查询所有权限菜单,并且支持树状结构呈现
	public List<Privilege> queryForTree();

	public Collection<ConfigAttribute> getAttributes(Object object);

	public Collection<ConfigAttribute> getAllConfigAttributes();

}
